package cn.edu.xust.configuration.exception;


import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@NoArgsConstructor
@ToString
public class Default200Exception extends Exception {

    private ErrorConstant errorConstant;
    private String extmsg="";

    public Default200Exception(ErrorConstant a){
        this.errorConstant=a;
    }
    public Default200Exception(ErrorConstant a, String extmsg){
        this.errorConstant=a;
        this.extmsg=extmsg;
    }
}
